#ifndef PERSONTABLE_H_
#define PERSONTABLE_H_
#include <vector>
#include "../../shared/message/Person.h"
#include <iostream>
using namespace std;

class PersonTable {

private:
	vector<Person> rows;

public:
	PersonTable();
	~PersonTable();
	vector<Person> getAllRows() const;
	vector<Person> getByName(Person& person) ;
	vector<Person> getByAddress(Person& person) ;
	vector<Person> getByPhone(Person& person) ;
	vector<Person> getByAll(Person& person) ;
	void addRow(const Person& row);
	void print();
};





#endif /* PERSONTABLE_H_ */
